using MediatR;
using RBAC.ErrorCode;
using System.ComponentModel.DataAnnotations;

namespace RBAC.Write.Api.Application.Command.ERP.SalesManagement.Billing
{
    /// <summary>
    /// 审核开票通知单命令
    /// </summary>
    public class AuditBillingNoticeCommand : IRequest<APIResult<bool>>
    {
        /// <summary>
        /// 单据编号
        /// </summary>
        [Required(ErrorMessage = "单据编号不能为空")]
        public string BillNumber { get; set; } = string.Empty;

        /// <summary>
        /// 单据状态（1-已审核）
        /// </summary>
        [Required(ErrorMessage = "单据状态不能为空")]
        public string BillStatus { get; set; } = "已审核";

        /// <summary>
        /// 操作员
        /// </summary>
        public string Operator { get; set; } = string.Empty;
    }
}